package com.example.demo.mapper;

import com.example.demo.domain.User;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface UserMapper {

    /**
     * 通过ID查询用户信息
     * @param id 用户ID
     * @return User
     */
    User getUserById(Integer id);
}
